package data.passingData;

import java.util.Date;

public class ReservationData implements Cloneable {
	private long id;
	private long subId;
	private String name;
	private String balance;
	private String groupName;
	private long groupId;
	private boolean isAssign;
	private long roomNameId;
	private long roomTypeId;
	private Date date;
	private Date realDate;
	private long span;
	private long realSpan;
	private long order;
	private String color;
	private String roomStatus;
	private boolean isChangeRoomFrom;
	private boolean isChangeRoomTo;
	private Date dateTo;
	private String resStatus;
	private String reservationTitle;
	private boolean sellRoom;
	private String resList;
	private String paymentList;
	private long adult;
	private long child;
	private String description;
	private String paymentAmount;
	private String sourcesString;
	private String ChargeCheckTemp;
	public String getChargeCheckTemp() {
		return ChargeCheckTemp;
	}
	public void setChargeCheckTemp(String chargeCheckTemp) {
		ChargeCheckTemp = chargeCheckTemp;
	}
	public String getSourcesString() {
		return sourcesString;
	}
	public void setSourcesString(String sourcesString) {
		this.sourcesString = sourcesString;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getSubId() {
		return subId;
	}
	public void setSubId(long subId) {
		this.subId = subId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public long getGroupId() {
		return groupId;
	}
	public void setGroupId(long groupId) {
		this.groupId = groupId;
	}
	public boolean isAssign() {
		return isAssign;
	}
	public void setAssign(boolean isAssign) {
		this.isAssign = isAssign;
	}
	public long getRoomNameId() {
		return roomNameId;
	}
	public void setRoomNameId(long roomNameId) {
		this.roomNameId = roomNameId;
	}
	public long getRoomTypeId() {
		return roomTypeId;
	}
	public void setRoomTypeId(long roomTypeId) {
		this.roomTypeId = roomTypeId;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public long getSpan() {
		return span;
	}
	public void setSpan(long span) {
		this.span = span;
	}
	public long getOrder() {
		return order;
	}
	public void setOrder(long order) {
		this.order = order;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getRoomStatus() {
		return roomStatus;
	}
	public void setRoomStatus(String roomStatus) {
		this.roomStatus = roomStatus;
	}
	public boolean isChangeRoomFrom() {
		return isChangeRoomFrom;
	}
	public void setChangeRoomFrom(boolean isChangeRoomFrom) {
		this.isChangeRoomFrom = isChangeRoomFrom;
	}
	public boolean isChangeRoomTo() {
		return isChangeRoomTo;
	}
	public void setChangeRoomTo(boolean isChangeRoomTo) {
		this.isChangeRoomTo = isChangeRoomTo;
	}
	public Date getDateTo() {
		return dateTo;
	}
	public void setDateTo(Date dateTo) {
		this.dateTo = dateTo;
	}
	public String getResStatus() {
		return resStatus;
	}
	public void setResStatus(String resStatus) {
		this.resStatus = resStatus;
	}
	public String getReservationTitle() {
		return reservationTitle;
	}
	public void setReservationTitle(String reservationTitle) {
		this.reservationTitle = reservationTitle;
	}
	public boolean isSellRoom() {
		return sellRoom;
	}
	public void setSellRoom(boolean sellRoom) {
		this.sellRoom = sellRoom;
	}
	public void setResLis(String resList) {
		this.resList = resList;
	}
	public void setPaymentList(String paymentList) {
		this.paymentList = paymentList;
	}
	public void setAdult(long adult2) {
		this.adult = adult2;
	}
	public long getAdult(){
		return this.adult;
	}
	public void setChild(long child) {
		this.child = child;
	}
	public long getChild(){
		return this.child;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public void setPaymentAmount(String paymentAmount) {
		this.paymentAmount = paymentAmount;
	}
	public String getBalance() {
		return balance;
	}
	public void setBalance(String balance) {
		
	}
	public ReservationData clone() {
        
		ReservationData obj = new ReservationData();
        obj.setId(this.id);
        obj.setName(this.name);
        obj.setGroupId(this.groupId);
        obj.setGroupName(this.groupName);
        obj.setAssign(this.isAssign);
        obj.setRoomNameId(this.roomNameId);
        obj.setRoomTypeId(this.roomTypeId);
        obj.setRealDate(this.realDate);
        obj.setDate(this.date);
        obj.setSpan(this.span);
        obj.setRealSpan(this.realSpan);
        obj.setOrder(this.order);
        obj.setColor(this.color);
        obj.setRoomStatus(this.roomStatus);
        obj.setChangeRoomFrom(this.isChangeRoomFrom);
        obj.setChangeRoomTo(this.isChangeRoomTo);
        obj.setDateTo(this.dateTo);
        obj.setResStatus(this.resStatus);
        obj.setReservationTitle(this.reservationTitle);
        obj.setSellRoom(this.sellRoom);
        obj.setResLis(this.resList);
        obj.setPaymentList(this.paymentList);
        obj.setAdult(this.adult);
        obj.setAdult(this.child);
        obj.setDescription(this.description);
        obj.setPaymentAmount(this.paymentAmount);
        obj.setSourcesString(this.sourcesString);
        obj.setChargeCheckTemp(this.ChargeCheckTemp);
        obj.setBalance(this.balance);
        return obj;
    }
	public long getRealSpan() {
		return realSpan;
	}
	public void setRealSpan(long realSpan) {
		this.realSpan = realSpan;
	}
	public Date getRealDate() {
		return realDate;
	}
	public void setRealDate(Date realDate) {
		this.realDate = realDate;
	}
	
}
